<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span{
            font-size: 40px;
            color: brown;
            height: 160px;
            width: 400px;
            background-color: aqua;
            display: inline-block;
            text-align: center;
            line-height: 160px;
            font-weight: bolder;
            font-style: italic;
            text-decoration: line-through;
            text-indent: 2em;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            /* white-space: nowrap; 不换行 */
            /* text-overflow: ;三个点 */
        }
    </style>
</head>
<body>
    <span>文本样式文本样式文本样式</span>
</body>
</html>